package cn.lijiajia3515.cairo.starter.feign.properties;

import lombok.Data;
import org.springframework.security.oauth2.common.AuthenticationScheme;

import java.util.List;


@Data
public class CairoFeignOAuth2ClientProperties {

	/**
	 * token uri
	 */
	private String accessTokenUrl;

	/**
	 * client id
	 */
	private String clientId;

	/**
	 * client secret
	 */
	private String clientSecret;

	/**
	 * 范围
	 */
	private List<String> scopes;


	/**
	 * 授权类型
	 */
	private String grantType = "client_credentials";

	/**
	 * 认证方式
	 */
	private AuthenticationScheme authenticationScheme = AuthenticationScheme.header;


}
